The Dreamweaver JavaScript API > Clipboard functions > dom.clipPaste() |
![]() ![]() ![]() |
Availability
Dreamweaver 3.0
Description
Pastes the contents of the clipboard into the current document at the current insertion point or in place of the current selection. If the clipboard contains HTML, it is interpreted as such.
Arguments
None.
Returns
Nothing.
Enabler
Example
If the clipboard contains <code>return true;</code>
, a call to dw.getDocumentDOM().clipPaste()
would result in the following:
![]() ![]() ![]() |